package edu.uoc.tds.pec3.main;

import edu.uoc.tds.pec3.cliente.Cliente;
import edu.uoc.tds.pec3.i18n.TDSLanguageUtils;
import java.util.Locale;
/**
 *
 * @author JUAN ANTONIO
 */
public class iniciarCliente {

    public static void main(String args[]) {
        if(args.length == 0)
            TDSLanguageUtils.setDefaultLanguage("edu/uoc/tds/pec3/i18n/messages");
        if(args.length == 1)
        {
            Locale locale = new Locale(args[0]);
            TDSLanguageUtils.setLanguage("edu/uoc/tds/pec3/i18n/messages", locale);
        }

        new Cliente();
    }
}
